/*
 * @Description: 
 * @Version: 1.0
 * @Autor: jiajun wu
 * @Date: 2021-11-11 11:56:17
 * @LastEditors: jiajun wu
 * @LastEditTime: 2021-12-02 18:00:28
 */
// 自定义配置，参考 ./default/setting.config.js，需要自定义的属性在这里配置即可
export default {
  theme: {
    color: '#13c2c2',
    mode: 'night',
    success: '#52c41a',
    warning: '#faad14',
    error: '#f5222d'
  },
  fixedHeader: true,
  multiPage: true,
  animate: {
    disabled: true,
    name: 'lightSpeed',
    direction: 'left'
  },
  // localStorage 配置
  localOptions: {
    namespace: 'ibms__', // key prefix
    name: 'ls', // name variable Vue.[ls] or this.[$ls],
    storage: 'local' // storage name session, local, memory
  },
  // sessionStorage 配置
  sessionOptions: {
    namespace: 'ibms__', // key prefix
    name: 'ss', // name variable Vue.[ls] or this.[$ls],
    storage: 'session' // storage name session, local, memory
  },
  /** api 上下文 */
  context: import.meta.env.VITE_APP_CONTEXT as string || '',
}
export interface StorageOptions {
  /** 名称变量 */
  name: string;
  /** 键前缀 */
  namespace: string;
  /** 存储类型 session, local, memory memory暂时未实现 */
  storage: string;
}
